package com.sudoku;

import javax.swing.SwingUtilities;

import com.sudoku.common.Constants;
import com.sudoku.common.SqliteUtils;
import com.sudoku.common.Utils;
import com.sudoku.ui.Sudoku;

public class SudokuGame {
	public static void main(String[] args) throws Exception {

		Utils.mkStaticDir();
		Constants.connection = SqliteUtils.getConnection();
		SqliteUtils.createTable();
		SwingUtilities.invokeLater(new Runnable() {
			@Override
			public void run() {
				new Sudoku();
			}
		});
	}
}
